package ikar.nrd.model;

import ikar.nrd.fillingref.generator.CoreUtils;

import java.io.Serializable;

public class StyleRef extends RowModel implements Serializable {

	private static final long serialVersionUID = 1L;
	private String level;
	private String subLevel;
	private String fieldsGroup;
	private String fieldType;
	
	

	public String getFieldType() {
		return fieldType;
	}

	public void setFieldType(String fieldType) {
		this.fieldType = fieldType;
	}

	public String getFieldsGroup() {
		return fieldsGroup;
	}

	public void setFieldsGroup(String fieldsGroup) {
		this.fieldsGroup = fieldsGroup;
	}

	public String getLevel() {
		return CoreUtils.coalesce(level, "1");
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getSubLevel() {
		return CoreUtils.coalesce(subLevel, "1");
	}

	public void setSubLevel(String subLevel) {
		this.subLevel = subLevel;
	}

}
